home *** CD-ROM | disk | FTP | other *** search
/ Delphi Developer's Kit 1996 / Delphi Developer's Kit 1996.iso / power / dbsrch02 / dbsearch.txt < prev    next >
Encoding:
Text File  |  1995-12-22  |  1.3 KB  |  48 lines

  1.             TDBSearch
  2.  
  3.             Version 0.97
  4.  
  5.             Aaron Castro
  6.             71534,2312
  7.  
  8.  
  9. TDBSearch is a class to enable Paradox like searching on any 
  10. field in a TDataSource.  It seems to be reasonably fast.  I have 
  11. only tested it on a maximum of 10000 records, but the speed results 
  12. were good.  Still some room for improvment.  It curently DOES NOT
  13. support the use of indexes.
  14.  
  15. There are 2 help files.  One is for development use and one for end user use.
  16.  
  17. The use of TDBSearch is simple...
  18.  
  19. 1) Create a TDBSearch object, ie
  20.     var DBSearch: TDBSearch;
  21.  
  22.     DBSearch:=TDBSearch.Create(DataSource1);
  23.  
  24. 2) Optionally set the field you want to search
  25.     DBSearch.SetDefLocateField('Fieldone');
  26.  
  27. 3) Tell it to get locate information and do the locate
  28.     DBSearch.Locate;
  29.  
  30. 4) Optionally tell it to look for the next occurence
  31.     DBSearch.LocateNext;
  32.  
  33.     
  34. ***************************************************************************
  35. Please report to me any problems or comments you might have.  You can reach
  36. me at the address shown at the top of this file.
  37. ***************************************************************************
  38.  
  39.  
  40.  
  41. WARNING!!!!
  42.  
  43. You may use and distribute this version (.97) of TDBSearch for free.
  44.  
  45.      By using this software you agree not to hold me responsible for
  46. any problems or damage that may result from using the software.
  47.  
  48.